<div class="zr_box mb25 medals">
	<h3>时尚勋章</h3>
	<a class="zr_more" href="{u medal/u uid=$home_uid}" target="_blank">更多</a>
	<?php
		$medals = FS('User')->getUserMedal($home_uid);
	?>
	<ul class="ml5">
		<!--{loop $medals $medal}-->
		<li class="medal_f"><a href="{u medal/u uid=$home_uid}" target="_blank"><img src="{$medal['small_img']}" height="25" alt="{$medal['name']}" title="{$medal['name']}"></a></li>
		<!--{/loop}-->
  	</ul>
</div>
<?php
$hot_topics = FS('Topic')->getImgTopic('hot',3);
$today_daren = FS('Daren')->getIndexTodayDaren();
?>
<div class="zr_box mb25 hot_event">
	<h3>热门主题</h3>
	<div class="blank9"></div>
	<ul>
		<!--{loop $hot_topics $topic}-->
		<li>
			<a target="_blank" href="{$topic['url']}"><img class="hot_pic" width="50" height="50" src="{getimg $topic['imgs'][0]['img'] 100 100}" /></a>
			<div class="hot_title">
				<p><a target="_blank" href="{$topic['url']}">{cutstr $topic['title'] 46}</a></p>
				{$topic['post_count']}回应 
			</div>
		</li>
		<!--{/loop}-->
	</ul>
</div>
<!--{if !empty($today_daren)}-->
<div class="zr_box mb25 tdaren">
	<h3>今日达人</h3>
	<div class="blank9"></div>
	<a href="{$today_daren['user']['url']}"><img class="ml10" style="width:197px;" src="{$today_daren['img']}"></a>
	<div class="tl">
		<a href="{$today_daren['user']['url']}" class="n GUID" uid="{$today_daren['user']['uid']}">{$today_daren['user']['user_name']}</a>
	</div>
</div>
<script type="text/javascript">
function UpdateDarenUserFollow(obj,result)
{
	var parent = $(obj).parent();
	if(result.status == 1)
	{
		$(obj).before('<img src="./tpl/images/add_fo_ok.png" class="fo_ok fr">');
		$(obj).remove();
	}
}
</script>
<!--{/if}-->